package com.tony.pmp.model.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tony.pmp.model.entity.SysLogEntity;
import org.apache.ibatis.annotations.Mapper;

/**
 * Created with IntelliJ IDEA.
 * @Title: SysLogMapper
 * @Auther: 皮蛋布丁
 * @Date: 2021/07/09/10:05
 * @Description: 系统日志
 */
@Mapper
public interface SysLogMapper extends BaseMapper<SysLogEntity> {

    /**
    * @Description: truncate 清除日志信息
    * @Param: []
    * @return: boolean
    * @Author: 皮蛋布丁
    * @Date: 2021/8/2 22:26
    */
    boolean truncate();

    int deleteByPrimaryKey(Long id);

    int insert(SysLogEntity record);

    int insertSelective(SysLogEntity record);

    SysLogEntity selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysLogEntity record);

    int updateByPrimaryKey(SysLogEntity record);
}